Creating API Definitions
The API Definitions page shows the list of all API definitions. An API definition is a set of configurable properties that specify the function of an API within the Traffic Manager. You can create a new API definition by selecting the New API Definition button. After creating API definitions, you can create endpoints and method definitions for the API.
Only an Administrator or API Manager can access the API Definitions page. To view this page, ensure you are assigned to one of these roles for your area.
You can create and configure your first API on the Design > API menu by importing a file, importing a URI, or creating it manually.
Other API related settings can be configured on the API Definition Settings, API Definition Security Settings, API Definition Error Sets, and API Definition Access Control pages.
Procedure
-
On the Get Started page, click API Definitions.
Or
Navigate to Design > APIs. This opens the Manage your APIs with API Definitions page.
-
Click New API Definition and choose any one of the following options to create a new API definition:
-
Import a file:
-
If importing an Open API file, refer to Importing Swagger API Definition File.
-
If importing a GraphQL file, refer to Importing GraphQL API Definition File.
-
-
Import from URI: If importing a GraphQL file from a URI, refer to Importing GraphQL API Definition from URI.
-
Create manually: If creating manually, refer to Creating API Definition manually.
-
Next Steps
After creating API definitions, create endpoints and method definitions for the API. Refer to Creating an Endpoint Manually and Creating Methods for more information.